﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Travel.Data;
using Travel.Data.Dtos;
using Travel.Data.Dtos.TravelBusiness;
using Travel.Data.Inputs;

namespace Travel.Service.TravelBusiness
{
    /// <summary>
    /// 订单相关服务
    /// </summary>
    public interface IOrderService
    {
        /// <summary>
        /// 创建订单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Results<string>> OrderAdd(OrderAddInput input);
        /// <summary>
        /// 订单查询
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Results<PageDto<OrderDto>>> OrderQuery(OrderQueryInput input);
    }
}
